翻訳と辞書
Words near each other
・ Regional District of Central Okanagan
・ Regional District of East Kootenay
・ Regional District of Fraser-Cheam
・ Regional District of Fraser-Fort George
・ Region VI
・ Region VII
・ Region VIII
・ Region VIII (Mexico State)
・ Region X
・ Region X (Mexico State)
・ Region XI
・ Region XII
・ Region XII (Mexico State)
・ Region XVI (Mexico State)
・ Region Zealand
Region-based memory management
・ Region-beta paradox
・ RegionAir
・ Regional accents of English
・ Regional accreditation
・ Regional Action
・ Regional Administrators of Eritrea
・ Regional Affairs Committee
・ Regional African Satellite Communication Organization
・ Regional Agricultural Research Station, Pattambi
・ Regional Air
・ Regional Air (Kenya)
・ Regional Air (Papua New Guinea)
・ Regional Air Services
・ Regional airline


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Region-based memory management : ウィキペディア英語版
Region-based memory management
In computer science, region-based memory management is a type of memory management in which each allocated object is assigned to a region. A region, also called a zone, arena, area, or memory context, is a collection of allocated objects that can be efficiently deallocated all at once. Like stack allocation, regions facilitate allocation and deallocation of memory with low overhead; but they are more flexible, allowing objects to live longer than the stack frame in which they were allocated. In typical implementations, all objects in a region are allocated in a single contiguous range of memory addresses, similarly to how stack frames are typically allocated.
== Example ==

As a simple example, consider the following C code which allocates and then deallocates a linked list data structure:

Region
*r = createRegion();
ListNode
*head = NULL;
for (int i = 1; i <= 1000; i++)
// ...
// (use list here)
// ...
destroyRegion(r);

Although it required many operations to construct the linked list, it can be destroyed quickly in a single operation by destroying the region in which the nodes were allocated. There is no need to traverse the list.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Region-based memory management」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.